home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / wgdb-42.lha / wgdb-4.2 / gdb / gdb.info-6 < prev    next >
Text File  |  1992-09-11  |  50KB  |  1,176 lines

  1. Info file gdb.info, produced by Makeinfo, -*- Text -*- from input
  2. file gdb-all.texi.
  3.  
  4.    This file documents the GNU debugger GDB.
  5.  
  6.    Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
  7.  
  8.    Permission is granted to make and distribute verbatim copies of
  9. this
  10. manual provided the copyright notice and this permission notice are
  11. preserved on all copies.
  12.  
  13.    Permission is granted to copy and distribute modified versions of
  14. this
  15. manual under the conditions for verbatim copying, provided also that
  16. the section entitled "GNU General Public License" is included
  17. exactly as in the original, and provided that the entire resulting
  18. derived work is distributed under the terms of a permission notice
  19. identical to this one.
  20.  
  21.    Permission is granted to copy and distribute translations of this
  22. manual into another language, under the above conditions for
  23. modified versions, except that the section entitled "GNU General
  24. Public License" may be included in a translation approved by the
  25. Free Software Foundation instead of in the original English.
  26.  
  27. 
  28. File: gdb.info,  Node: Emacs,  Next: GDB Bugs,  Prev: Sequences,  Up: Top
  29.  
  30. Using GDB under GNU Emacs
  31. *************************
  32.  
  33.    A special interface allows you to use GNU Emacs to view (and edit)
  34. the source files for the program you are debugging with GDB.
  35.  
  36.    To use this interface, use the command `M-x gdb' in Emacs.  Give
  37. the executable file you want to debug as an argument.  This command
  38. starts GDB as a subprocess of Emacs, with input and output through a
  39. newly created Emacs buffer.
  40.  
  41.    Using GDB under Emacs is just like using GDB normally except for
  42. two things:
  43.  
  44.    * All "terminal" input and output goes through the Emacs buffer.
  45.  
  46.    This applies both to GDB commands and their output, and to the
  47. input and output done by the program you are debugging.
  48.  
  49.    This is useful because it means that you can copy the text of
  50. previous commands and input them again; you can even use parts of
  51. the
  52. output in this way.
  53.  
  54.    All the facilities of Emacs' Shell mode are available for
  55. interacting with your program.  In particular, you can send signals
  56. the usual way--for example, `C-c C-c' for an interrupt, `C-c C-z'
  57. for a stop.
  58.  
  59.    * GDB displays source code through Emacs.
  60.  
  61.    Each time GDB displays a stack frame, Emacs automatically finds
  62. the source file for that frame and puts an arrow (`=>') at the left
  63. margin of the current line.  Emacs uses a separate buffer for source
  64. display, and splits the window to show both your GDB session and the
  65. source.
  66.  
  67.    Explicit GDB `list' or search commands still produce output as
  68. usual, but you probably will have no reason to use them.
  69.  
  70.      *Warning:* If the directory where your program resides is not
  71.      your current directory, it can be easy to confuse Emacs about
  72.      the location of the source files, in which case the auxiliary
  73.      display buffer will not appear to show your source.  GDB can
  74.      find programs by searching your environment's `PATH' variable,
  75.      so the GDB input and output session will proceed normally; but
  76.      Emacs doesn't get enough information back from GDB to locate
  77.      the source files in this situation.  To avoid this problem,
  78.      either start GDB mode from the directory where your program
  79.      resides, or specify a full path name when prompted for the `M-x
  80.      gdb' argument.
  81.  
  82.      A similar confusion can result if you use the GDB `file' command
  83.      to switch to debugging a program in some other location, from
  84.      an existing GDB buffer in Emacs.
  85.  
  86.    By default, `M-x gdb' calls the program called `gdb'.  If you need
  87. to call GDB by a different name (for example, if you keep several
  88. configurations around, with different names) you can set the Emacs
  89. variable `gdb-command-name'; for example,
  90.  
  91.      (setq gdb-command-name "mygdb")
  92.  
  93. (preceded by `ESC ESC', or typed in the `*scratch*' buffer, or in
  94. your `.emacs' file) will make Emacs call the program named "`mygdb'"
  95. instead.
  96.  
  97.    In the GDB I/O buffer, you can use these special Emacs commands in
  98. addition to the standard Shell mode commands:
  99.  
  100. `C-h m'
  101.      Describe the features of Emacs' GDB Mode.
  102.  
  103. `M-s'
  104.      Execute to another source line, like the GDB `step' command;
  105.      also update the display window to show the current file and
  106.      location.
  107.  
  108. `M-n'
  109.      Execute to next source line in this function, skipping all
  110.      function calls, like the GDB `next' command.  Then update the
  111.      display window to show the current file and location.
  112.  
  113. `M-i'
  114.      Execute one instruction, like the GDB `stepi' command; update
  115.      display window accordingly.
  116.  
  117. `M-x gdb-nexti'
  118.      Execute to next instruction, using the GDB `nexti' command;
  119.      update display window accordingly.
  120.  
  121. `C-c C-f'
  122.      Execute until exit from the selected stack frame, like the GDB
  123.      `finish' command.
  124.  
  125. `M-c'
  126.      Continue execution of the program, like the GDB `continue'
  127.      command.  *Warning:* In Emacs v19, this command is `C-c C-p'.
  128.  
  129. `M-u'
  130.      Go up the number of frames indicated by the numeric argument
  131.      (*note Numeric Arguments: (emacs)Arguments.), like the GDB `up'
  132.      command.  *Warning:* In Emacs v19, this command is `C-c C-u'.
  133.  
  134. `M-d'
  135.      Go down the number of frames indicated by the numeric argument,
  136.      like the GDB `down' command.  *Warning:* In Emacs v19, this
  137.      command is `C-c C-d'.
  138.  
  139. `C-x &'
  140.      Read the number where the cursor is positioned, and insert it at
  141.      the end of the GDB I/O buffer.  For example, if you wish to
  142.      disassemble code around an address that was displayed earlier,
  143.      type `disassemble'; then move the cursor to the address
  144.      display, and pick up the argument for `disassemble' by typing
  145.      `C-x &'.
  146.  
  147.      You can customize this further on the fly by defining elements
  148.      of the list `gdb-print-command'; once it is defined, you can
  149.      format or otherwise process numbers picked up by `C-x &' before
  150.      they are inserted.  A numeric argument to `C-x &' will both
  151.      indicate that you wish special formatting, and act as an index
  152.      to pick an element of the list.  If the list element is a
  153.      string, the number to be inserted is formatted using the Emacs
  154.      function `format'; otherwise the number is passed as an
  155.      argument to the corresponding list element.
  156.  
  157.    In any source file, the Emacs command `C-x SPC' (`gdb-break')
  158. tells GDB to set a breakpoint on the source line point is on.
  159.  
  160.    If you accidentally delete the source-display buffer, an easy way
  161. to get it back is to type the command `f' in the GDB buffer, to
  162. request a frame display; when you run under Emacs, this will
  163. recreate the source buffer if necessary to show you the context of
  164. the current frame.
  165.  
  166.    The source files displayed in Emacs are in ordinary Emacs buffers
  167. which are visiting the source files in the usual way.  You can edit
  168. the files with these buffers if you wish; but keep in mind that GDB
  169. communicates with Emacs in terms of line numbers.  If you add or
  170. delete lines from the text, the line numbers that GDB knows will
  171. cease to correspond properly to the code.
  172.  
  173. 
  174. File: gdb.info,  Node: GDB Bugs,  Next: Renamed Commands,  Prev: Emacs,  Up: Top
  175.  
  176. Reporting Bugs in GDB
  177. *********************
  178.  
  179.    Your bug reports play an essential role in making GDB reliable.
  180.  
  181.    Reporting a bug may help you by bringing a solution to your
  182. problem, or it may not.  But in any case the principal function of a
  183. bug report is to help the entire community by making the next
  184. version of GDB work better.  Bug reports are your contribution to
  185. the maintenance of GDB.
  186.  
  187.    In order for a bug report to serve its purpose, you must include
  188. the information that enables us to fix the bug.
  189.  
  190. * Menu:
  191.  
  192. * Bug Criteria::                Have You Found a Bug?
  193. * Bug Reporting::               How to Report Bugs
  194.  
  195. 
  196. File: gdb.info,  Node: Bug Criteria,  Next: Bug Reporting,  Prev: GDB Bugs,  Up: GDB Bugs
  197.  
  198. Have You Found a Bug?
  199. =====================
  200.  
  201.    If you are not sure whether you have found a bug, here are some
  202. guidelines:
  203.  
  204.    * If the debugger gets a fatal signal, for any input whatever,
  205.      that is a GDB bug.  Reliable debuggers never crash.
  206.  
  207.    * If GDB produces an error message for valid input, that is a bug.
  208.  
  209.    * If GDB does not produce an error message for invalid input, that
  210.      is a bug.  However, you should note that your idea of "invalid
  211.      input" might be our idea of "an extension" or "support for
  212.      traditional practice".
  213.  
  214.    * If you are an experienced user of debugging tools, your
  215.      suggestions for improvement of GDB are welcome in any case.
  216.  
  217. 
  218. File: gdb.info,  Node: Bug Reporting,  Prev: Bug Criteria,  Up: GDB Bugs
  219.  
  220. How to Report Bugs
  221. ==================
  222.  
  223.    A number of companies and individuals offer support for GNU
  224. products.  If you obtained GDB from a support organization, we
  225. recommend you contact that organization first.
  226.  
  227.    Contact information for many support companies and individuals is
  228. available in the file `etc/SERVICE' in the GNU Emacs distribution.
  229.  
  230.    In any event, we also recommend that you send bug reports for GDB
  231. to one of these addresses:
  232.  
  233.      bug-gdb@prep.ai.mit.edu
  234.      {ucbvax|mit-eddie|uunet}!prep.ai.mit.edu!bug-gdb
  235.  
  236.    *Do not send bug reports to `info-gdb', or to `help-gdb', or to
  237. any newsgroups.* Most users of GDB do not want to receive bug
  238. reports.  Those that do, have arranged to receive `bug-gdb'.
  239.  
  240.    The mailing list `bug-gdb' has a newsgroup `gnu.gdb.bug' which
  241. serves as a repeater.  The mailing list and the newsgroup carry
  242. exactly the same messages.  Often people think of posting bug
  243. reports to the newsgroup instead of mailing them.  This appears to
  244. work, but it has one problem which can be crucial: a newsgroup
  245. posting often lacks a mail path back to the sender.  Thus, if we
  246. need to ask for more information, we may be unable to reach you. 
  247. For this reason, it is better to send bug reports to the mailing list.
  248.  
  249.    As a last resort, send bug reports on paper to:
  250.  
  251.      GNU Debugger Bugs
  252.      Free Software Foundation
  253.      545 Tech Square
  254.      Cambridge, MA 02139
  255.  
  256.    The fundamental principle of reporting bugs usefully is this:
  257. *report all the facts*.  If you are not sure whether to state a fact
  258. or leave it out, state it!
  259.  
  260.    Often people omit facts because they think they know what causes
  261. the problem and assume that some details don't matter.  Thus, you
  262. might assume that the name of the variable you use in an example
  263. does not matter.  Well, probably it doesn't, but one cannot be sure.
  264. Perhaps the bug is a stray memory reference which happens to fetch
  265. from the location where that name is stored in memory; perhaps, if
  266. the name were different, the contents of that location would fool
  267. the debugger into doing the right thing despite the bug.  Play it
  268. safe and give a specific, complete example.  That is the easiest
  269. thing for you to do, and the most helpful.
  270.  
  271.    Keep in mind that the purpose of a bug report is to enable us to
  272. fix the bug if it is new to us.  It isn't as important what happens
  273. if the bug is already known.  Therefore, always write your bug
  274. reports on the assumption that the bug has not been reported
  275. previously.
  276.  
  277.    Sometimes people give a few sketchy facts and ask, "Does this ring
  278. a bell?"  Those bug reports are useless, and we urge everyone to
  279. *refuse to respond to them* except to chide the sender to report
  280. bugs properly.
  281.  
  282.    To enable us to fix the bug, you should include all these things:
  283.  
  284.    * The version of GDB.  GDB announces it if you start with no
  285.      arguments; you can also print it at any time using `show
  286.      version'.
  287.  
  288.      Without this, we won't know whether there is any point in
  289.      looking for the bug in the current version of GDB.
  290.  
  291.    * A complete input script, and all necessary source files, that
  292.      will reproduce the bug.
  293.  
  294.    * What compiler (and its version) was used to compile GDB--e.g. 
  295.      "gcc-1.37.1".
  296.  
  297.    * The command arguments you gave the compiler to compile your
  298.      example and observe the bug.  For example, did you use `-O'? 
  299.      To
  300.      guarantee you won't omit something important, list them all.
  301.  
  302.      If we were to try to guess the arguments, we would probably
  303.      guess wrong and then we might not encounter the bug.
  304.  
  305.    * The type of machine you are using, and the operating system name
  306.      and version number.
  307.  
  308.    * A description of what behavior you observe that you believe is
  309.      incorrect.  For example, "It gets a fatal signal."
  310.  
  311.      Of course, if the bug is that GDB gets a fatal signal, then we
  312.      will certainly notice it.  But if the bug is incorrect output,
  313.      we might not notice unless it is glaringly wrong.  We are
  314.      human, after all.  You might as well not give us a chance to
  315.      make a mistake.
  316.  
  317.      Even if the problem you experience is a fatal signal, you should
  318.      still say so explicitly.  Suppose something strange is going
  319.      on, such as, your copy of GDB is out of synch, or you have
  320.      encountered a bug in the C library on your system.  (This has
  321.      happened!)  Your copy might crash and ours would not.  If you
  322.      told us to expect a crash, then when ours fails to crash, we
  323.      would know that the bug was not happening for us.  If you had
  324.      not told us to expect a crash, then we would not be able to
  325.      draw any conclusion from our observations.
  326.  
  327.    * If you wish to suggest changes to the GDB source, send us
  328.      context diffs.  If you even discuss something in the GDB
  329.      source, refer to it by context, not by line number.
  330.  
  331.      The line numbers in our development sources won't match those in
  332.      your sources.  Your line numbers would convey no useful
  333.      information to us.
  334.  
  335.    Here are some things that are not necessary:
  336.  
  337.    * A description of the envelope of the bug.
  338.  
  339.      Often people who encounter a bug spend a lot of time
  340.      investigating which changes to the input file will make the bug
  341.      go away and which changes will not affect it.
  342.  
  343.      This is often time consuming and not very useful, because the
  344.      way we will find the bug is by running a single example under
  345.      the debugger with breakpoints, not by pure deduction from a
  346.      series of examples.  We recommend that you save your time for
  347.      something else.
  348.  
  349.      Of course, if you can find a simpler example to report *instead*
  350.      of the original one, that is a convenience for us.  Errors in
  351.      the output will be easier to spot, running under the debugger
  352.      will take less time, etc.
  353.  
  354.      However, simplification is not vital; if you don't want to do
  355.      this, report the bug anyway and send us the entire test case
  356.      you used.
  357.  
  358.    * A patch for the bug.
  359.  
  360.      A patch for the bug does help us if it is a good one.  But don't
  361.      omit the necessary information, such as the test case, on the
  362.      assumption that a patch is all we need.  We might see problems
  363.      with your patch and decide to fix the problem another way, or
  364.      we might not understand it at all.
  365.  
  366.      Sometimes with a program as complicated as GDB it is very hard
  367.      to construct an example that will make the program follow a
  368.      certain path through the code.  If you don't send us the
  369.      example, we won't be able to construct one, so we won't be able
  370.      to verify that the bug is fixed.
  371.  
  372.      And if we can't understand what bug you are trying to fix, or
  373.      why your patch should be an improvement, we won't install it. 
  374.      A test case will help us to understand.
  375.  
  376.    * A guess about what the bug is or what it depends on.
  377.  
  378.      Such guesses are usually wrong.  Even we can't guess right about
  379.      such things without first using the debugger to find the facts.
  380.  
  381. 
  382. File: gdb.info,  Node: Renamed Commands,  Next: Installing GDB,  Prev: GDB Bugs,  Up: Top
  383.  
  384. Renamed Commands
  385. ****************
  386.  
  387.    The following commands were renamed in GDB 4.0, in order to make
  388. the command set as a whole more consistent and easier to use and
  389. remember:
  390.  
  391.      OLD COMMAND               NEW COMMAND
  392.      ---------------           -------------------------------
  393.      add-syms                  add-symbol-file
  394.      delete environment        unset environment
  395.      info convenience          show convenience
  396.      info copying              show copying
  397.      info directories          show directories
  398.      info editing              show commands
  399.      info history              show values
  400.      info targets              help target
  401.      info values               show values
  402.      info version              show version
  403.      info warranty             show warranty
  404.      set/show addressprint     set/show print address
  405.      set/show array-max        set/show print elements
  406.      set/show arrayprint       set/show print array
  407.      set/show asm-demangle     set/show print asm-demangle
  408.      set/show caution          set/show confirm
  409.      set/show demangle         set/show print demangle
  410.      set/show history write    set/show history save
  411.      set/show prettyprint      set/show print pretty
  412.      set/show screen-height    set/show height
  413.      set/show screen-width     set/show width
  414.      set/show sevenbit-strings set/show print sevenbit-strings
  415.      set/show unionprint       set/show print union
  416.      set/show vtblprint        set/show print vtbl
  417.      
  418.      unset                     [No longer an alias for delete]
  419.  
  420. 
  421. File: gdb.info,  Node: Installing GDB,  Next: Copying,  Prev: Renamed Commands,  Up: Top
  422.  
  423. Installing GDB
  424. **************
  425.  
  426.    GDB comes with a `configure' script that automates the process of
  427. preparing GDB for installation; you can then use `make' to build the
  428. `gdb' program.
  429.  
  430.    The gdb distribution includes all the source code you need for gdb
  431. in a single directory `gdb-4.2'.  That directory in turn contains:
  432.  
  433. `gdb-4.2/configure (and supporting files)'
  434.      script for configuring GDB and all its supporting libraries.
  435.  
  436. `gdb-4.2/gdb'
  437.      the source specific to GDB itself
  438.  
  439. `gdb-4.2/bfd'
  440.      source for the Binary File Descriptor Library
  441.  
  442. `gdb-4.2/include'
  443.      GNU include files
  444.  
  445. `gdb-4.2/libiberty'
  446.      source for the `-liberty' free software library
  447.  
  448. `gdb-4.2/readline'
  449.      source for the GNU command-line interface
  450.  
  451. It is most convenient to run `configure' from the `gdb-4.2'
  452. directory.  The simplest way to configure and build GDB is the
  453. following:
  454.  
  455.      cd gdb-4.2
  456.      ./configure HOST
  457.      make
  458.  
  459. where HOST is something like `sun4' or `decstation', that identifies
  460. the platform where GDB will run.  This builds the three libraries
  461. `bfd', `readline', and `libiberty', then `gdb' itself.  The
  462. configured source files, and the binaries, are left in the
  463. corresponding source directories.
  464.  
  465.    `configure' is a Bourne-shell (`/bin/sh') script; if your system
  466. doesn't recognize this automatically when you run a different shell,
  467. you may need to run `sh' on it explicitly:  `sh configure HOST'.
  468.  
  469.    You can *run* the `configure' script from any of the subordinate
  470. directories in the GDB distribution (if you only want to configure
  471. that subdirectory); but be sure to specify a path to it.  For
  472. example, to configure only the `bfd' subdirectory,
  473.  
  474.      cd gdb-4.2/bfd
  475.      ../configure HOST
  476.  
  477.    You can install `gdb' anywhere; it has no hardwired paths. 
  478. However, you should make sure that the shell on your path (named by
  479. the `SHELL' environment variable) is publicly readable; some systems
  480. refuse to let GDB debug child processes whose programs are not
  481. readable, and GDB uses the shell to start your program.
  482.  
  483. * Menu:
  484.  
  485. * Subdirectories::              Configuration subdirectories
  486. * Config Names::                Specifying names for hosts and targets
  487. * configure Options::           Summary of options for configure
  488. * Formatting Documentation::    How to format and print GDB documentation
  489.  
  490. 
  491. File: gdb.info,  Node: Subdirectories,  Next: Config Names,  Prev: Installing GDB,  Up: Installing GDB
  492.  
  493. Configuration Subdirectories
  494. ============================
  495.  
  496.    If you want to run GDB versions for several host or target
  497. machines, you'll need a different gdb compiled for each combination
  498. of host and target.  `configure' is designed to make this easy by
  499. allowing you to generate each configuration in a separate
  500. subdirectory.  If your `make' program handles the `VPATH' feature
  501. (GNU `make' does), running `make' in each of these directories then
  502. builds the gdb program specified there.
  503.  
  504.    `configure' creates these subdirectories for you when you
  505. simultaneously specify several configurations; but it's a good habit
  506. even for a single configuration.  You can specify the use of
  507. subdirectories using the `+subdirs' option (abbreviated `+sub'). 
  508. For example, you can build GDB this way on a Sun 4 as follows:
  509.  
  510.      cd gdb-4.2
  511.      ./configure +sub sun4
  512.      cd H-sun4/T-sun4
  513.      make
  514.  
  515.    When `configure' uses subdirectories to build programs or
  516. libraries, it creates nested directories `H-HOST/T-TARGET'. 
  517. `configure' uses these two directory levels because GDB can be
  518. configured for cross-compiling: GDB can run on one machine (the
  519. host) while debugging programs that run on another machine (the
  520. target).
  521. You specify cross-debugging targets by giving the `+target=TARGET'
  522. option to `configure'.  Specifying only hosts still gives you two
  523. levels of subdirectory for each host, with the same configuration
  524. suffix on both; that is, if you give any number of hosts but no
  525. targets, GDB will be configured for native debugging on each host. 
  526. On the other hand, whenever you specify both hosts and targets on
  527. the same command line, `configure' creates all combinations of the
  528. hosts and targets you list.
  529.  
  530.    If you run `configure' from a directory (notably, `gdb-4.2') that
  531. contains source directories for multiple libraries or programs,
  532. `configure' creates the `H-HOST/T-TARGET' subdirectories in each
  533. library or program's source directory.  For example, typing:
  534.  
  535.      cd gdb-4.2
  536.      configure sun4 +target=vxworks960
  537.  
  538. creates the following directories:
  539.  
  540.      gdb-4.2/H-sun4/T-vxworks960
  541.      gdb-4.2/bfd/H-sun4/T-vxworks960
  542.      gdb-4.2/gdb/H-sun4/T-vxworks960
  543.      gdb-4.2/libiberty/H-sun4/T-vxworks960
  544.      gdb-4.2/readline/H-sun4/T-vxworks960
  545.  
  546.    When you run `make' to build a program or library, you must run it
  547. in a configured directory.  If you made a single configuration,
  548. without subdirectories, run `make' in the source directory.  If you
  549. have `H-HOST/T-TARGET' subdirectories, run `make' in those
  550. subdirectories.
  551.  
  552.    The `Makefile' generated by `configure' for each source directory
  553. runs recursively, so that typing `make' in `gdb-4.2' (or in a
  554. `gdb-4.2/H-HOST/T-TARGET' subdirectory) builds all the required
  555. libraries,
  556. then GDB.
  557.  
  558.    When you have multiple hosts or targets configured, you can run
  559. `make' on them in parallel (for example, if they are NFS-mounted on
  560. each of the hosts); they will not interfere with each other.
  561.  
  562.    You can also use the `+objdir=ALTROOT' option to have the
  563. configured files placed in a parallel directory structure rather
  564. than alongside the source files; *note configure Options::..
  565.  
  566. 
  567. File: gdb.info,  Node: Config Names,  Next: configure Options,  Prev: Subdirectories,  Up: Installing GDB
  568.  
  569. Specifying Names for Hosts and Targets
  570. ======================================
  571.  
  572.    The specifications used for hosts and targets in the `configure'
  573. script are based on a three-part naming scheme, but some short
  574. predefined aliases are also supported.  The full naming scheme
  575. encodes three pieces of information in the following pattern:
  576.  
  577.      ARCHITECTURE-VENDOR-OS
  578.  
  579.    For example, you can use the alias `sun4' as a HOST argument or in
  580. a `+target=TARGET' option, but the equivalent full name is
  581. `sparc-sun-sunos4'.
  582.  
  583.    The following table shows all the architectures, hosts, and OS
  584. prefixes that `configure' recognizes in GDB 4.2.  Entries in the "OS
  585. prefix" column ending in a `*' may be followed by a release number.
  586.  
  587.  
  588.      ARCHITECTURE  VENDOR        OS prefix
  589.      ------------+------------+-------------
  590.                  |            |
  591.       580        | altos      | aix*    
  592.       a29k       | amd        | amigados
  593.       alliant    | amdahl     | aout    
  594.       arm        | aout       | bout    
  595.       c1         | apollo     | bsd*    
  596.       c2         | att        | coff    
  597.       cray2      | bcs        | ctix*   
  598.       h8300      | bout       | dgux*   
  599.       i386       | bull       | dynix*  
  600.       i860       | cbm        | ebmon   
  601.       i960       | coff       | esix*   
  602.       m68000     | convergent | hds     
  603.       m68k       | convex     | hpux*   
  604.       m88k       | cray       | irix*   
  605.       mips       | dec        | isc*    
  606.       ns32k      | encore     | kern    
  607.       pyramid    | gould      | mach*   
  608.       romp       | hitachi    | msdos*  
  609.       rs6000     | hp         | newsos* 
  610.       sparc      | ibm        | nindy*  
  611.       tahoe      | intel      | osf*    
  612.       tron       | isi        | sco*    
  613.       vax        | little     | sunos*  
  614.       xmp        | mips       | svr4    
  615.       ymp        | motorola   | sym*    
  616.                  | ncr        | sysv*   
  617.                  | next       | ultrix* 
  618.                  | nyu        | unicos* 
  619.                  | sco        | unos*   
  620.                  | sequent    | uts     
  621.                  | sgi        | v88r*   
  622.                  | sony       | vms*    
  623.                  | sun        | vxworks*
  624.                  | unicom     |
  625.                  | utek       |
  626.                  | wrs        |
  627.  
  628.      *Warning:* Many combinations of architecture, vendor, and OS are
  629.      untested.
  630.  
  631.    The `configure' script accompanying GDB 4.2 does not provide any
  632. query facility to list all supported host and target names or
  633. aliases.  `configure' calls the Bourne shell script `config.sub' to
  634. map abbreviations to full names; you can read the script, if you
  635. wish, or you can use it to test your guesses on abbreviations--for
  636. example:
  637.  
  638.      % sh config.sub sun4
  639.      sparc-sun-sunos4
  640.      % sh config.sub sun3
  641.      m68k-sun-sunos4
  642.      % sh config.sub decstation
  643.      mips-dec-ultrix
  644.      % sh config.sub hp300bsd
  645.      m68k-hp-bsd
  646.      % sh config.sub i386v
  647.      i386-none-sysv
  648.      % sh config.sub i486v
  649.      *** Configuration "i486v" not recognized
  650.  
  651. `config.sub' is also distributed in the directory `gdb-4.2'.
  652.  
  653. 
  654. File: gdb.info,  Node: configure Options,  Next: Formatting Documentation,  Prev: Config Names,  Up: Installing GDB
  655.  
  656. `configure' Options
  657. ===================
  658.  
  659.    Here is a summary of all the `configure' options and arguments
  660. that you might use for building GDB:
  661.  
  662.      configure [+destdir=DIR] [+subdirs]
  663.                [+objdir=ALTROOT] [+norecursion] [+rm]
  664.                [+target=TARGET...] HOST...
  665.  
  666. You may introduce options with the character `-' rather than `+' if
  667. you prefer; but you may abbreviate option names if you use `+'.
  668.  
  669. `+destdir=DIR'
  670.      DIR is an installation directory *path prefix*.  After you
  671.      configure with this option, `make install' will install GDB as
  672.     
  673.      `DIR/bin/gdb', and the libraries in `DIR/lib'.  If you specify
  674.      `+destdir=/usr/local', for example, `make install' creates
  675.      `/usr/local/bin/gdb'.
  676.  
  677. `+subdirs'
  678.      Write configuration specific files in subdirectories of the form
  679.  
  680.           H-HOST/T-TARGET
  681.  
  682.      (and configure the `Makefile' to generate object code in
  683.      subdirectories of this form as well).  Without this option, if
  684.      you specify only one configuration for GDB, `configure' will
  685.      use the same directory for source, configured files, and
  686.      binaries.  This option is used automatically if you specify
  687.      more than one HOST or more than one `+target=TARGET' option on
  688.      the `configure' command line.
  689.  
  690. `+norecursion'
  691.      Configure only the directory where `configure' is executed; do
  692.      not propagate configuration to subdirectories.
  693.  
  694. `+objdir=ALTROOT'
  695.      ALTROOT is an alternative directory used as the root for
  696.      configured files.  `configure' will create directories under
  697.      ALTROOT in parallel to the source directories.  If you use
  698.      `+objdir=ALTROOT' with `+subdirs', `configure' also builds the
  699.      `H-HOST/T-TARGET' subdirectories in the directory tree rooted
  700.      in ALTROOT.
  701.  
  702. `+rm'
  703.      Remove the configuration that the other arguments specify.
  704.  
  705. `+target=TARGET ...'
  706.      Configure GDB for cross-debugging programs running on each
  707.      specified TARGET.  You may specify as many `+target' options as
  708.      you wish.  Without this option, GDB is configured to debug
  709.      programs that run on the same machine (HOST) as GDB itself.
  710.  
  711.      There is no convenient way to generate a list of all available
  712.      targets.
  713.  
  714. `HOST ...'
  715.      Configure GDB to run on each specified HOST.  You may specify as
  716.      many host names as you wish.
  717.  
  718.      There is no convenient way to generate a list of all available
  719.      hosts.
  720.  
  721. `configure' accepts other options, for compatibility with configuring
  722. other GNU tools recursively; but these are the only options that
  723. affect GDB or its supporting libraries.
  724.  
  725. 
  726. File: gdb.info,  Node: Formatting Documentation,  Prev: configure Options,  Up: Installing GDB
  727.  
  728. Formatting the Documentation
  729. ============================
  730.  
  731.    The GDB 4.2 release includes an already-formatted reference card,
  732. ready for printing on a PostScript printer, as
  733. `gdb-4.2/gdb/refcard.ps'.  It uses the most common PostScript fonts:
  734. the Times family, Courier, and Symbol.  If you have a PostScript
  735. printer, you can print the reference card by just sending
  736. `refcard.ps' to the printer.
  737.  
  738.    The release also includes the online Info version of this manual
  739. already formatted: the main Info file is `gdb-4.2/gdb/gdb.info', and
  740. it refers to subordinate files matching `gdb.info*' in the same
  741. directory.
  742.  
  743.    If you want to make these Info files yourself from the GDB
  744. manual's source, you need the GNU `makeinfo' program.  Once you have
  745. it, you can type
  746.  
  747.      cd gdb-4.2/gdb
  748.      make gdb.info
  749.  
  750. to make the Info file.
  751.  
  752.    If you want to format and print copies of the manual, you need
  753. several things:
  754.  
  755.    * TeX, the public domain typesetting program written by Donald
  756.      Knuth, must be installed on your system and available through
  757.      your execution path.
  758.  
  759.    * `gdb-4.2/texinfo': TeX macros defining the GNU Documentation
  760.      Format.
  761.  
  762.    * *A DVI output program.*  TeX doesn't actually make marks on
  763.      paper; it produces output files called DVI files.  If your
  764.      system has TeX installed, chances are it has a program for
  765.      printing out these files; one popular example is `dvips', which
  766.      can print DVI files on PostScript printers.
  767.  
  768. Once you have these things, you can type
  769.  
  770.      cd gdb-4.2/gdb
  771.      make gdb.dvi
  772.  
  773. to format the text of this manual, and print it with the usual output
  774. method for TeX DVI files at your site.
  775.  
  776.    If you want to print the reference card, but don't have a
  777. PostScript printer, or you want to use Computer Modern fonts
  778. instead, you can still print it if you have TeX.  Format the
  779. reference
  780. card by typing
  781.  
  782.      cd gdb-4.2/gdb
  783.      make refcard.dvi
  784.  
  785. The GDB reference card is designed to print in landscape mode on US
  786. "letter" size paper; that is, on a sheet 11 inches wide by 8.5
  787. inches high.  You will need to specify this form of printing as an
  788. option to your DVI output program.
  789.  
  790. 
  791. File: gdb.info,  Node: Copying,  Next: Index,  Prev: Installing GDB,  Up: Top
  792.  
  793. GNU GENERAL PUBLIC LICENSE
  794. **************************
  795.  
  796.                              Version 2, June 1991
  797.  
  798.      Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  799.      675 Mass Ave, Cambridge, MA 02139, USA
  800.      
  801.      Everyone is permitted to copy and distribute verbatim copies
  802.      of this license document, but changing it is not allowed.
  803.  
  804. Preamble
  805. ========
  806.  
  807.    The licenses for most software are designed to take away your
  808. freedom to share and change it.  By contrast, the GNU General Public
  809. License is intended to guarantee your freedom to share and change
  810. free software--to make sure the software is free for all its users. 
  811. This General Public License applies to most of the Free Software
  812. Foundation's software and to any other program whose authors commit
  813. to using it.  (Some other Free Software Foundation software is
  814. covered by the GNU Library General Public License instead.)  You can
  815. apply it to your programs, too.
  816.  
  817.    When we speak of free software, we are referring to freedom, not
  818. price.  Our General Public Licenses are designed to make sure that
  819. you have the freedom to distribute copies of free software (and
  820. charge for this service if you wish), that you receive source code
  821. or can get it if you want it, that you can change the software or
  822. use pieces of it in new free programs; and that you know you can do
  823. these things.
  824.  
  825.    To protect your rights, we need to make restrictions that forbid
  826. anyone to deny you these rights or to ask you to surrender the rights.
  827. These restrictions translate to certain responsibilities for you if
  828. you distribute copies of the software, or if you modify it.
  829.  
  830.    For example, if you distribute copies of such a program, whether
  831. gratis or for a fee, you must give the recipients all the rights
  832. that
  833. you have.  You must make sure that they, too, receive or can get the
  834. source code.  And you must show them these terms so they know their
  835. rights.
  836.  
  837.    We protect your rights with two steps: (1) copyright the software,
  838. and (2) offer you this license which gives you legal permission to
  839. copy, distribute and/or modify the software.
  840.  
  841.    Also, for each author's protection and ours, we want to make
  842. certain that everyone understands that there is no warranty for this
  843. free software.  If the software is modified by someone else and
  844. passed on, we want its recipients to know that what they have is not
  845. the original, so that any problems introduced by others will not
  846. reflect on the original authors' reputations.
  847.  
  848.    Finally, any free program is threatened constantly by software
  849. patents.  We wish to avoid the danger that redistributors of a free
  850. program will individually obtain patent licenses, in effect making
  851. the program proprietary.  To prevent this, we have made it clear
  852. that any patent must be licensed for everyone's free use or not
  853. licensed at all.
  854.  
  855.    The precise terms and conditions for copying, distribution and
  856. modification follow.
  857.  
  858.        TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  859.  
  860.   1. This License applies to any program or other work which contains
  861.      a notice placed by the copyright holder saying it may be
  862.      distributed under the terms of this General Public License. 
  863.      The "Program", below, refers to any such program or work, and a
  864.      "work based on the Program" means either the Program or any
  865.      derivative work under copyright law: that is to say, a work
  866.      containing the Program or a portion of it, either verbatim or
  867.      with modifications and/or translated into another language. 
  868.      (Hereinafter, translation is included without limitation in the
  869.      term "modification".)  Each licensee is addressed as "you".
  870.  
  871.         Activities other than copying, distribution and modification
  872.      are not covered by this License; they are outside its scope. 
  873.      The act of running the Program is not restricted, and the
  874.      output from the Program is covered only if its contents
  875.      constitute a work based on the Program (independent of having
  876.      been made by running the Program).  Whether that is true
  877.      depends on what the Program does.
  878.  
  879.   2. You may copy and distribute verbatim copies of the Program's
  880.      source code as you receive it, in any medium, provided that you
  881.      conspicuously and appropriately publish on each copy an
  882.      appropriate copyright notice and disclaimer of warranty; keep
  883.      intact all the notices that refer to this License and to the
  884.      absence of any warranty; and give any other recipients of the
  885.      Program a copy of this License along with the Program.
  886.  
  887.         You may charge a fee for the physical act of transferring a
  888.      copy, and you may at your option offer warranty protection in
  889.      exchange for a fee.
  890.  
  891.   3. You may modify your copy or copies of the Program or any portion
  892.      of it, thus forming a work based on the Program, and copy and
  893.      distribute such modifications or work under the terms of
  894.      Section 1 above, provided that you also meet all of these
  895.      conditions:
  896.  
  897.        a) You must cause the modified files to carry prominent
  898.           notices stating that you changed the files and the date of
  899.           any change.
  900.  
  901.        b) You must cause any work that you distribute or publish,
  902.           that in whole or in part contains or is derived from the
  903.           Program or any part thereof, to be licensed as a whole at
  904.           no charge to all third parties under the terms of this
  905.           License.
  906.  
  907.        c) If the modified program normally reads commands
  908.           interactively when run, you must cause it, when started
  909.           running for such interactive use in the most ordinary way,
  910.           to print or display an announcement including an
  911.           appropriate copyright notice and a notice that there is no
  912.           warranty (or else, saying that you provide a warranty) and
  913.           that users may redistribute the program under these
  914.           conditions, and telling the user how to view a copy of
  915.           this License.  (Exception: if the Program itself is
  916.           interactive but does not normally print such an
  917.           announcement, your work based on the Program is not
  918.           required to print an announcement.)
  919.  
  920.         These requirements apply to the modified work as a whole.  If
  921.      identifiable sections of that work are not derived from the
  922.      Program, and can be reasonably considered independent and
  923.      separate works in themselves, then this License, and its terms,
  924.      do not apply to those sections when you distribute them as
  925.      separate works.  But when you distribute the same sections as
  926.      part of a whole which is a work based on the Program, the
  927.      distribution of the whole must be on the terms of this License,
  928.      whose permissions for other licensees extend to the entire
  929.      whole, and thus to each and every part regardless of who wrote
  930.      it.
  931.  
  932.         Thus, it is not the intent of this section to claim rights or
  933.      contest your rights to work written entirely by you; rather,
  934.      the intent is to exercise the right to control the distribution
  935.      of derivative or collective works based on the Program.
  936.  
  937.         In addition, mere aggregation of another work not based on
  938.      the Program with the Program (or with a work based on the
  939.      Program) on a volume of a storage or distribution medium does
  940.      not bring the other work under the scope of this License.
  941.  
  942.   4. You may copy and distribute the Program (or a work based on it,
  943.      under Section 2) in object code or executable form under the
  944.      terms of Sections 1 and 2 above provided that you also do one
  945.      of the following:
  946.  
  947.        a) Accompany it with the complete corresponding
  948.           machine-readable source code, which must be distributed
  949.           under the terms of Sections 1 and 2 above on a medium
  950.          
  951.           customarily used for software interchange; or,
  952.  
  953.        b) Accompany it with a written offer, valid for at least three
  954.           years, to give any third party, for a charge no more than
  955.           your cost of physically performing source distribution, a
  956.           complete machine-readable copy of the corresponding source
  957.           code, to be distributed under the terms of Sections 1 and
  958.           2 above on a medium customarily used for software
  959.           interchange; or,
  960.  
  961.        c) Accompany it with the information you received as to the
  962.           offer to distribute corresponding source code.  (This
  963.           alternative is allowed only for noncommercial distribution
  964.           and only if you received the program in object code or
  965.           executable form with such an offer, in accord with
  966.           Subsection b above.)
  967.  
  968.         The source code for a work means the preferred form of the
  969.      work for making modifications to it.  For an executable work,
  970.      complete source code means all the source code for all modules
  971.      it contains, plus any associated interface definition files,
  972.      plus the scripts used to control compilation and installation
  973.      of the executable.  However, as a special exception, the source
  974.      code distributed need not include anything that is normally
  975.      distributed (in either source or binary form) with the major
  976.      components (compiler, kernel, and so on) of the operating
  977.      system on which the executable runs, unless that component
  978.      itself accompanies the executable.
  979.  
  980.         If distribution of executable or object code is made by
  981.      offering access to copy from a designated place, then offering
  982.      equivalent access to copy the source code from the same place
  983.      counts as distribution of the source code, even though third
  984.      parties are not compelled to copy the source along with the
  985.      object code.
  986.  
  987.   5. You may not copy, modify, sublicense, or distribute the Program
  988.      except as expressly provided under this License.  Any attempt
  989.      otherwise to copy, modify, sublicense or distribute the Program
  990.      is void, and will automatically terminate your rights under
  991.      this License.  However, parties who have received copies, or
  992.      rights, from you under this License will not have their
  993.      licenses terminated so long as such parties remain in full
  994.      compliance.
  995.  
  996.   6. You are not required to accept this License, since you have not
  997.      signed it.  However, nothing else grants you permission to
  998.      modify or distribute the Program or its derivative works. 
  999.      These actions are prohibited by law if you do not accept this
  1000.      License.  Therefore, by modifying or distributing the Program
  1001.      (or any work based on the Program), you indicate your
  1002.      acceptance of this License to do so, and all its terms and
  1003.      conditions for copying, distributing or modifying the Program
  1004.      or works based on it.
  1005.  
  1006.   7. Each time you redistribute the Program (or any work based on the
  1007.      Program), the recipient automatically receives a license from
  1008.      the original licensor to copy, distribute or modify the Program
  1009.      subject to these terms and conditions.  You may not impose any
  1010.      further restrictions on the recipients' exercise of the rights
  1011.      granted herein.  You are not responsible for enforcing
  1012.      compliance by third parties to this License.
  1013.  
  1014.   8. If, as a consequence of a court judgment or allegation of patent
  1015.      infringement or for any other reason (not limited to patent
  1016.      issues), conditions are imposed on you (whether by court order,
  1017.      agreement or otherwise) that contradict the conditions of this
  1018.      License, they do not excuse you from the conditions of this
  1019.      License.  If you cannot distribute so as to satisfy
  1020.      simultaneously your obligations under this License and any
  1021.      other pertinent obligations, then as a consequence you may not
  1022.      distribute the Program at all.  For example, if a patent
  1023.      license would not permit royalty-free redistribution of the
  1024.      Program by all those who receive copies directly or indirectly
  1025.      through you, then the only way you could satisfy both it and
  1026.      this License would be to refrain entirely from distribution of
  1027.      the Program.
  1028.  
  1029.         If any portion of this section is held invalid or
  1030.      unenforceable under any particular circumstance, the balance of
  1031.      the section is intended to apply and the section as a whole is
  1032.      intended to apply in other circumstances.
  1033.  
  1034.         It is not the purpose of this section to induce you to
  1035.      infringe any patents or other property right claims or to
  1036.      contest validity of any such claims; this section has the sole
  1037.      purpose of protecting the integrity of the free software
  1038.      distribution system, which is implemented by public license
  1039.      practices.  Many people have made generous contributions to the
  1040.      wide range of software distributed through that system in
  1041.      reliance on consistent application of that system; it is up to
  1042.      the author/donor to decide if he or she is willing to
  1043.      distribute software through any other system and a licensee
  1044.      cannot impose that choice.
  1045.  
  1046.         This section is intended to make thoroughly clear what is
  1047.      believed to be a consequence of the rest of this License.
  1048.  
  1049.   9. If the distribution and/or use of the Program is restricted in
  1050.      certain countries either by patents or by copyrighted
  1051.      interfaces, the original copyright holder who places the
  1052.      Program under this License may add an explicit geographical
  1053.      distribution limitation excluding those countries, so that
  1054.      distribution is permitted only in or among countries not thus
  1055.      excluded.  In such case, this License incorporates the
  1056.      limitation as if written in the body of this License.
  1057.  
  1058.  10. The Free Software Foundation may publish revised and/or new
  1059.      versions of the General Public License from time to time.  Such
  1060.      new versions will be similar in spirit to the present version,
  1061.      but may differ in detail to address new problems or concerns.
  1062.  
  1063.         Each version is given a distinguishing version number.  If
  1064.      the Program specifies a version number of this License which
  1065.      applies to it and "any later version", you have the option of
  1066.      following the terms and conditions either of that version or of
  1067.      any later version published by the Free Software Foundation. 
  1068.      If the Program does not specify a version number of this
  1069.      License, you may choose any version ever published by the Free
  1070.      Software Foundation.
  1071.  
  1072.  11. If you wish to incorporate parts of the Program into other free
  1073.      programs whose distribution conditions are different, write to
  1074.      the author to ask for permission.  For software which is
  1075.      copyrighted by the Free Software Foundation, write to the Free
  1076.      Software Foundation; we sometimes make exceptions for this. 
  1077.      Our decision will be guided by the two goals of preserving the
  1078.      free status of all derivatives of our free software and of
  1079.      promoting the sharing and reuse of software generally.
  1080.  
  1081.                                       NO WARRANTY
  1082.  
  1083.  12. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
  1084.      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  1085.      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  1086.      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
  1087.      WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
  1088.      INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  1089.     
  1090.      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE
  1091.      ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
  1092.      WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE
  1093.      COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  1094.  
  1095.  13. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  1096.      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
  1097.      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
  1098.      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  1099.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  1100.      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
  1101.      OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
  1102.      BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE
  1103.      WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
  1104.      HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  1105.  
  1106.                          END OF TERMS AND CONDITIONS
  1107.  
  1108. Applying These Terms to Your New Programs
  1109. =========================================
  1110.  
  1111.    If you develop a new program, and you want it to be of the
  1112. greatest possible use to the public, the best way to achieve this is
  1113. to make it free software which everyone can redistribute and change
  1114. under these terms.
  1115.  
  1116.    To do so, attach the following notices to the program.  It is
  1117. safest to attach them to the start of each source file to most
  1118. effectively convey the exclusion of warranty; and each file should
  1119. have
  1120. at least the "copyright" line and a pointer to where the full notice
  1121. is found.
  1122.  
  1123.      ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
  1124.      Copyright (C) 19YY  NAME OF AUTHOR
  1125.      
  1126.      This program is free software; you can redistribute it and/or modify
  1127.      it under the terms of the GNU General Public License as published by
  1128.      the Free Software Foundation; either version 2 of the License, or
  1129.      (at your option) any later version.
  1130.      
  1131.      This program is distributed in the hope that it will be useful,
  1132.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  1133.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1134.      GNU General Public License for more details.
  1135.      
  1136.      You should have received a copy of the GNU General Public License
  1137.      along with this program; if not, write to the Free Software
  1138.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  1139.  
  1140.    Also add information on how to contact you by electronic and paper
  1141. mail.
  1142.  
  1143.    If the program is interactive, make it output a short notice like
  1144. this when it starts in an interactive mode:
  1145.  
  1146.      Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR
  1147.      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1148.      This is free software, and you are welcome to redistribute it
  1149.      under certain conditions; type `show c' for details.
  1150.  
  1151.    The hypothetical commands `show w' and `show c' should show the
  1152. appropriate parts of the General Public License.  Of course, the
  1153. commands you use may be called something other than `show w' and
  1154. `show c'; they could even be mouse-clicks or menu items--whatever
  1155. suits
  1156. your
  1157. program.
  1158.  
  1159.    You should also get your employer (if you work as a programmer) or
  1160. your school, if any, to sign a "copyright disclaimer" for the
  1161. program, if necessary.  Here is a sample; alter the names:
  1162.  
  1163.      Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  1164.      `Gnomovision' (which makes passes at compilers) written by James Hacker.
  1165.      
  1166.      SIGNATURE OF TY COON, 1 April 1989
  1167.      Ty Coon, President of Vice
  1168.  
  1169.    This General Public License does not permit incorporating your
  1170. program into proprietary programs.  If your program is a subroutine
  1171. library, you may consider it more useful to permit linking
  1172. proprietary applications with the library.  If this is what you want
  1173. to do, use the GNU Library General Public License instead of this
  1174. License.
  1175.  
  1176.